package com.tzy.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 商家代金券
 * </p>
 *
 * @author 刘同学
 * @since 2022-03-04
 */
@TableName("shop_cas_coupon")
@Data
public class ShopCasCoupon implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 代金券id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商家id
     */
    private Integer shopId;

    /**
     * 代金券门槛
     */
    private Integer threshold;

    /**
     * 代金券优惠金额
     */
    private Integer discount;
}
